<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>找工作</title>
    <meta name="keywords" content="找实习，实习生招聘，2017最新实习招聘信息">
    <meta name="description" content="实习生招聘频道，为实习生提供2017年最新实习招聘信息，名企实习生招聘职位信息，找实习工作，了解最新实习招聘信息，欢迎到中华英才网实习生招聘频道。">
    <link href="{$Think.config.url_public}/css/reset.css" rel="stylesheet" type="text/css">
    <link href="{$Think.config.url_public}/css/minecss.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="{$Think.config.url_public}/css2/style.css">
    <link rel="stylesheet" type="text/css" href="{$Think.config.url_public}/css2/paging.css">
    <script type="text/javascript" src="{$Think.config.url_public}/js2/jquery-1.7.2.min.js"></script>
    <script src="{$Think.config.url_public}/js/sea.js"></script>

</head>
<body>
<script src="{$Think.config.url_public}/js/config1.js"></script>
<style>
    .chinahr-link{ float: left; color: #fff; line-height: 33px; font-size: 14px; }
    .wfx-x{ margin-left:2px; display: inline-block; }
    #top_bbs{ position:relative; }
    #top_bbs:hover .wfx-shadow{ display:block; }
    .wfx-shadow{ position:absolute; width:79px; height:77px; z-index:2000; top:70px; left:0; background:#fff; font-family: '微软雅黑'; font-size:14px; color:#333333; border-left:1px solid #dadada; border-right:1px solid #dadada; border-top:1px solid #dadada; line-height: 38px; display:none; }
    .wfx-shadow:before{ position:absolute; content:''; width:0; height:0;   border:8px solid; border-color:transparent transparent #dadada transparent; left:50%; margin-left:-8px; top:-16px; }
    .wfx-shadow:after{ position:absolute; content:''; width:0; height:0;   border:8px solid; border-color:transparent transparent #fff transparent; left:50%; margin-left:-8px; top:-15px; }
    .wfx-shadow dt{ text-align: center; border-bottom:1px solid #dadada; }
    .nav-index ul li a.wfxa{ line-height: 38px; }
    .nav-index li dt:hover a.wfxa{ color:#2ab36a; }
    .nav-index li:hover dl a{ color: #333333; font-weight: normal; }
</style>
<?php
$dsn='mysql:dbname=end;host=localhost';
$user='root';
$password='123456';
try{
    $db=new PDO($dsn,$user,$password);
    $db->exec("SET NAMES UTF8");
    $page=isset($_GET['page'])?$_GET['page']:1;
    $start=3*($page-1);
    $count='SELECT COUNT(*) AS COUNT FROM table_recruit';
    $count=$db->query($count)->fetch();
    $count=(int)$count['COUNT'];
    $sp = ceil($count/3);
    $sql='SELECT * FROM table_recruit LIMIT '.$start.',3';
    $result=$db->query($sql);
    if($result==false)
    {
        throw new PDOException("查询失败",501);
    }
}catch(PDOException $e){
    if($e->getCode()>500)
        echo "SQL failed".$e->getMessage();
    else
        echo "Connect failed".$e->getMessage();
}
?>
<div class="title">
    <div class="title-share">
        <a href="index.php" class="chinahr-link">首页</a>
        <ul>
            <li  class="feedback">
                <a href="http://www.sojump.hk/jq/7416543.aspx" target="_blank">
                    反馈
                </a>
            </li>
        </ul>
        <div class="phone-index" style="display:none" id="phoneBox">
            <i class="arrow barcode"></i>
        </div>
    </div>
</div>
<div class="nav-index-father">
    <div class="nav-index">
        <ul>
            <li id="top_index"><a href="/">首页</a></li>
            <li id="top_bbs"><a href="javascript:void(0);">求职指导<span class="wfx-x">∨</span></a>
                <dl class="wfx-shadow">
                    <dt><a href="../Qiantai/resume" class="wfxa">简历信息</a></dt>
                    <dt><a href="../Qiantai/resume_add" class="wfxa">简历增加</a></dt>
                </dl>
            </li>
        </ul>
    </div>
</div>

<div class="findjob-container clearfix">

    <div class="container-content clearfix">
        <!--搜索-->

        <div class="findjob-container clearfix" style="z-index: 5;">
            <div class="container-content clearfix">
                <!--搜索-->
                <div class="search-joborcompany">
                    <div class="search-joborcompany-instruction">
                        <span class="tip">
                            <input type="text" name="leibie",id="leibie">
                        </span>
                        <input type="submit" class="search-joborcompany-btn" rel="nofollow" value="搜索">
                    </div>
                </div>
                <div class="tipBox" data-id="search"></div>
                <!--条件-->
                <div class="container-conditions">
                    <div class="container-conditions-cities clearfix city-sou">
                    <div class="container-conditions-cities clearfix industry-sou">
                        <div class="container-conditions-cities-title lf">相关行业</div>
                        <div id="industry_all" class="container-conditions-cities-all selected lf" rel="nofollow">全部</div>
                        <div class="container-conditions-cities-options lf">
                            <style type="text/css">
                                body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
                                .demo{width:620px;margin:40px auto 0 auto;}
                                .sx,.zj{padding-bottom:10px;}
                                .sx a{color:#000;line-height:22px;display:inline-block;width:50px;height:22px;margin-right:10px;border:1px solid #fff;text-align:center;padding-right:6px;}
                                a.on{border:1px solid red;}
                                .sx span,.zj span{display:inline-block;line-height:22px;height:22px;color:#00F;font-size:14px;margin-right:10px;text-align:right;width:70px;}
                                .zj a{color:#fff;line-height:22px;display:inline-block;width:100px;height:22px;margin-right:10px;border:1px solid #C00;text-align:center;background:url(images/xx2.jpg) no-repeat right top #C00;padding-right:10px;}
                                .qcqb{width:70px;height:22px;line-height:22px;background:#FF0;color:#690;display:none;display:inline-block;text-align:center;border:1px solid #ccc;cursor:pointer;}
                            </style>
                            <div class="demo">
                                <div class="sx">
                                    <span>分类1：</span>
                                    <a rel="1" class="sx_child" name="aaa" href="javascript:;">计算机</a>
                                    <a rel="2" class="sx_child" name="aaa" href="javascript:;">营销</a>
                                    <a rel="3" class="sx_child" name="aaa" href="javascript:;">中文</a>
                                    <a rel="4" class="sx_child" name="aaa" href="javascript:;">金融</a>
                                </div>
                                <div class="zj">
                                    <span>删选结果：</span>
                                    <p class="qcqb">清除全部</p>
                                </div>
                            </div>
                            <script type="text/javascript" src="{$Think.config.url_public}/js2/shanxuan.js"></script>
                            <script type="text/javascript">
                                $('.sx').sx({
                                    nuv:".zj",//筛选结果
                                    zi:"sx_child",//所有筛选范围内的子类
                                    qingchu:'.qcqb',//清除全部
                                    over:'on'//选中状态样式名称
                                });
                            </script>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!--查询结果-->
        <div class="content-main clearfix padding-bottom50" style="margin-left: 120px">
            <div class="content-main-searchresult lf">
                <div class="content-main-searchresult-title">全职职位</div>
                <div class="content-main-searchresult-info" data-url="#">
                    <div class="first-line">
                        <form action="../Qiantai/zhaopin" method="post">
                        <?php foreach ($result as $value){?>
                            <div class="font-face-display">
                                    <input type="submit" value="<?php echo $value['id'];?>" name="id">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span><?php echo $value['occupation'];?>.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <span><?php echo $value['leibie'];?></span>
                            </div>
                        <?php }?>
                        </form>
                    </div>
                </div>
                <div class="result-pagelist">
                    <?php if($page!=1){?>
                        <a href="fieldwork2?page=<?php echo $page - 1;?>"> <<< </a>&nbsp;
                    <?php }?>
                    <?php for($i=1;$i<=$sp;$i++){?>
                        <a href="fieldwork2?page=<?php echo $i;?>"><?php echo $i;?></a>&nbsp;
                    <?php }?>
                    <?php if($page<$sp){?>
                        <a href="fieldwork2?page=<?php echo $page + 1;?>"> >>> </a>
                    <?php }?>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script>
    // 加载入口模块
    seajs.use(["DataCheck","Utility","search","Banners","Query","HomeHotData","quickLoginSecond","pc/chain"])
</script>

<div id="yc_footer">
    <div class="page help clear">
        <div class="help_tel">
            <i class="icon_hf icon_tel"></i>
        </div>
        <div class="help_list">
            <dl>
                <dt><i class="icon_hf icon_about"></i>关于我们</dt>
                <dd><a href="http://www.chinahr.com/themes/chinahr/about/about.html" target="_blank" rel="nofollow">关于我们</a></dd>
                <dd><a href="http://www.chinahr.com/company/4342ae842530b85574f995bbj.html" target="_blank" rel="nofollow">加入我们</a></dd>
                <dd><a href="http://www.chinahr.com/themes/chinahr/about/contact_us.html" target="_blank" rel="nofollow">联系我们</a></dd>
                <dd><a href="http://www.chinahr.com/news/list7000.html" target="_blank" rel="nofollow">媒体报道</a></dd>
            </dl>
            <dl>
                <dt><i class="icon_hf icon_job"></i>产品服务</dt>
                <dd><a href="http://campus.chinahr.com/Resume/editcv" target="_blank" rel="nofollow">创建简历</a></dd>
                <dd><a href="http://campus.chinahr.com/sx/" target="_blank">找实习</a></dd>
                <dd><a href="http://campus.chinahr.com/qz/" target="_blank">找全职</a></dd>
                <dd><a href="http://campus.chinahr.com/zph/" target="_blank">招聘会</a></dd>
            </dl>
            <dl>
                <dt><i class="icon_hf icon_text"></i>更多服务</dt>
                <dd><a href="http://enterprise.chinahr.com/job/jobadd" target="_blank" rel="nofollow">发布职位</a></dd>
                <dd><a href="http://enterprise.chinahr.com/jobmanage/joblist" target="_blank" rel="nofollow">职位管理</a></dd>
                <dd><a href="http://www.chinahr.com" target="_blank">社会招聘</a></dd>
                <dd><a href="http://research.chinahr.com/" target="_blank">英才研究院</a></dd>
            </dl>
            <dl>
                <dt><i class="icon_hf icon_help"></i>帮助中心</dt>
                <dd><a href="http://www.chinahr.com/themes/chinahr/about/fuwutiaokuan.html" target="_blank" rel="nofollow">网站声明</a></dd>
                <dd><a href="http://www.chinahr.com/themes/chinahr/about/security_terms.html" target="_blank" rel="nofollow">使用条款</a></dd>
                <dd><a href="http://www.chinahr.com/themes/chinahr/about/security.html" target="_blank" rel="nofollow">安全中心</a></dd>
                <dd><a href="http://www.chinahr.com/themes/chinahr/about/changjianwenti.html" target="_blank" rel="nofollow">帮助</a></dd>
            </dl>
        </div>
    </div>
</div>


<script src="{$Think.config.url_public}/js2/tracker.js"></script>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?d65068737de9bd8796dc757a9d2f6175";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>



</body>

</html>
